import base64


def main(url):
    str_url = base64.b64decode(url).decode("utf-8")
    return str_url


if __name__ == '__main__':
    a = main("eyJjbGFzc2lkIjoxfQ==")
    print(type(a))